package com.gitee.elead.web.api;

import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.ToString;

/**
 * 失败返回
 *
 * @author luopeng
 */

@Getter
@ToString
@Builder
@EqualsAndHashCode(callSuper = false)
@AllArgsConstructor
@NoArgsConstructor
@SuppressWarnings("rawtypes")
public class FailedResponse extends ApiResponses {

	private static final long serialVersionUID = 1L;
	/**
	 * http 状态码
	 */
	private Integer status;
	/**
	 * 错误状态码
	 */
	private String error;
	/**
	 * 错误描述
	 */
	private String msg;
	/**
	 * 异常信息
	 */
	private String exception;
	/**
	 * 客户端是否展示
	 */
	private Boolean show;
	/**
	 * 当前时间戳
	 */
	private LocalDateTime time;

}
